<template>
    <div class="head">
         <span class="iconfont icon-down-jiantou-right" @click="fun()"></span>
         <span>{{name}}</span>
         <span class="iconfont icon-fenxiang"></span>
       </div>
</template>

<script>
export default {
    props:["name"],
    methods:{
        fun(){
            this.$router.go(-1)
        }
    }
}
</script>

<style scoped>
    .head{
       height: 0.8rem;
       display: flex;
       justify-content: space-between;
       align-items: center;
       padding: 0 0.14rem;
       /* font-size: 18px; */
       font-weight: bold;
      
   }
   .head span{
      font-size: 0.18rem;
   }
</style>